package com.wei.test.login.Service.Impl;

import com.wei.test.Model.TUser;
import com.wei.test.login.Service.LoginService;
import com.wei.test.login.Service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LoginServiceImpl implements LoginService {
    @Autowired
    private UserService userService;
    @Override
    public String login(String uid, String password) {
        // 1 查询属于我们的同事      我们的同事能够访问
        TUser user = userService.findByUid(uid);
        // 2 进行验证
        // 3 获取token

        return null;
    }
}
